package com.dp.mallchat.common.common.thread;

import lombok.extern.slf4j.Slf4j;

/**
 * @Author: dupeng
 * @CreateTime: 2024-05-29  14:57
 * @Description: TODO
 */
@Slf4j
public class MyUncaughtExceptionHandler implements Thread.UncaughtExceptionHandler {
    @Override
    public void uncaughtException(Thread t, Throwable e) {
        log.error("线程:{} 发生异常:{}", t.getName(), e);
    }
}
